package com.pshcp.domain.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * APP版本升级
 * </p>
 *
 * @author auto generator
 * @since 2022-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_app_version")
public class AppVersion implements Serializable {

    private static final long serialVersionUID=1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 版本号 eg:100
     */
    private Integer versionNo;

    /**
     * 版本号描述 eg:1.0.0
     */
    private String versionShow;

    /**
     * 更新内容
     */
    private String content;

    /**
     * APP类型 0患者端 1医生端
     */
    private Integer appType;

    /**
     * 系统类型 0-Android 1-iOS
     */
    private Integer osType;

    /**
     * 升级包路径
     */
    private String path;
    /**
     * 是否强制 0否1是
     */
    @Column(name = "`force`")
    private Integer force;

    /**
     * 是否发布 0否 1是
     */
    private Integer publish;

    /**
     * 状态 0正常 1删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
